@layout("/common/_container.html",{js:["/assets/manager/archiveInfo/archiveInfo.js"],css:["/assets/common/module/dtree/dtree.css","/assets/common/module/dtree/font/dtreefont.css"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">档案信息表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space5">

        <div class="layui-col-md3 layui-col-lg3">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="toolbar">
                        <select xm-select="type">
                            <option value="1">按年度</option>
                            <option value="2">按部门</option>
                            <option value="3">按位置</option>
                        </select>
                    </div>
                    <div style="overflow: auto;">
                        <ul id="dTree" class="dtree" data-id="0"></ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-col-md9 layui-col-lg9">
            <div class="layui-card">
                <div class="layui-card-body">
                    <form lay-filter="searchForm" id="archiveInfoSearchForm" class="layui-form toolbar">
                        <input type="hidden" id="ssdasid" name="ssdasid"/>
                        <input type="hidden" id="ssdagid" name="ssdagid"/>
                        <input type="hidden" id="ssdagcid" name="ssdagcid"/>
                        <div class="layui-form-item layui-row layui-col-space5">
                            <div class="layui-col-sm2 layui-col-lg2">
                                <input name="mc" class="layui-input" type="text" placeholder="名称"/>
                            </div>
                            <div class="layui-col-sm2 layui-col-lg2">
                                <input name="wjid" class="layui-input" type="text" placeholder="卷宗号"/>
                            </div>
                            <div class="layui-col-sm2 layui-col-lg2">
                                <input name="ssrrmc" class="layui-input" type="text" placeholder="所属人"/>
                            </div>

                            <div class="layui-col-sm1 layui-col-lg1">
                                <#dic name="ly" dic="ARCHIVE_SOURCE" tips="来源"/>
                            </div>
                            <div class="layui-col-sm5 layui-col-lg5">
                                <#reset id="archiveInfoSearchForm"/>

                                <button lay-filter="btnSearch" lay-submit class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                @if(shiro.hasPermission("/archiveInfo/add")){
                                <button id="btnAdd" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>录入</button>
                                @}
                                @if(shiro.hasPermission("/archiveInfo/batAdd")){
                                <button id="btnBatAdd" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>批量录入</button>
                                @}
                            </div>
                        </div>
                    </form>
                    <table class="layui-table" id="archiveInfoTable" lay-filter="archiveInfoTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/archiveInfo/edit")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    @}
    @if(shiro.hasPermission("/archiveInfo/delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    @}
</script>

<#dic_templet id="dalx" dic="ARCHIVE_TYPE" value="d.dalx"/>
<#dic_templet id="glnx" dic="LIMIT_YEAR" value="d.glnx"/>
<#dic_templet id="sfyx" dic="YESNO" value="d.sfyx"/>
<#dic_templet id="ly" dic="ARCHIVE_SOURCE" value="d.ly"/>
<#dic_templet id="mj" dic="SECRETS_LEVEL" value="d.mj"/>
@}